import http from '../../../assets/js/http'

const BASE_URL = '/file-api'
export const getLog = (id) => {
  return http.requestGet(BASE_URL + `/filesystem/txt/${id}`)
}

export const getVideo = (id) => {
  return http.requestGet(BASE_URL + `/filesystem/video/${id}`)
}

export const battleList = () => {
  return http.requestGet('/dev-api' + '/battle/findAll')
}

export const getDetail = (id) => {
  return http.requestGet(BASE_URL + '/txt/getLog/' + id)
}
